import React from "react";
import Stu from './Stu';

export default class App extends React.Component {

  render() {
    //声明一个对象
    let info = {
      age: 18,
      hobby: ['画画','看书','追剧']
    };

    //返回虚拟 DOM 
    return <div>
        <Stu {...info}  />
    </div>;
  }
}
